<?php
	include '../User.php';
	$users=new User;
	$users->setUsername($_POST['username']);
	$users->setPassword(sha1($_POST['pass']));
	$users->setRole($_POST['role']);
	$users->signUp($_POST['role']);
?>
